/* common */
html{
    font-size: 87.5%;
}
body{
    width:100%;
    margin:0 auto !important;
    max-width: 640px !important;
    background:#ebebeb;
}
a
,a:hover
,a:active
,a:visited{
    color: #000;
    text-decoration: none;
    background-color: transparent;
}
li{
    list-style-type: none;
}
img{
    width:100%;
}
input{
    box-shadow: none !important;
}
.container-fluid{
    padding: 0;
}
.btn-default:hover
,.btn-default:active
,.btn-default:visited{
    background-color: transparent;
}
/*小字颜色*/
.grey{
    color:#848484;
}
/*价格颜色*/
.price{
    color:#ad0e11;
}
/*icon颜色*/
.green {
    color:#009688;
}
/*文字截断*/
.ellipsis{
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}
/*文字截断-两行*/
.ellipsis2{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/*幻灯片 点*/
.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet-active{
    background-color: #ad0e11 !important;
}
/*搜索*/
.search{
    margin: 0;
    background-color: #fff;
}
.search input{
    border:0;
    background:#f3f5f4;
    height: 2.29rem;
    width:100%;
    border-radius:5.71rem;
    margin:.71rem auto;
    padding-left: 7%;
}

.search .focus{
    position:absolute;
    left:43%;
    top:1.14rem;
    z-index: 2;
}
.search .icon{
    font-size: 1.14rem;
}
/*返回至头部*/
.toTop{
    background-color: #d24645;
    position: fixed;
    right: .86rem;
    bottom: 5.14rem;
    border-radius: 50%;
    z-index: 9999;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
}
.toTop .icon{
    color: #fff;
    font-size: 1.43rem;
}
/* footer */
.footer{
    margin-top: 3.93rem;
}
.footer div{
    padding:.2rem .29rem;
    font-size:.78rem;
}
.footer .navbar{
    height: 3.57rem;
}
.footer .navbar div .icon-box{
    height: 1.85rem;
    line-height: 1.85rem;
}
.footer .navbar .icon{
    font-size: 1.8rem;
}
.footer .navbar  .active
,.footer .navbar  .active .icon{
    color:#009688;
}
